home *** CD-ROM | disk | FTP | other *** search
- #! /bin/sh
- #
- # psize.sh -- determine this system's pipe size, and write a define to
- # pipesize.h so ulimit.c can use it.
-
- echo "/*"
- echo " * pipesize.h"
- echo " *"
- echo " * This file is automatically generated by psize.sh"
- echo " * Do not edit!"
- echo " */"
- echo ""
-
- ./psize.aux 2>/tmp/pipesize | sleep 3
-
- echo "#define PIPESIZE `cat /tmp/pipesize`"
-
- rm -f /tmp/pipesize
-
- exit 0
-